3.7 \(\int \frac {a+b \tanh ^{-1}(c x)}{x} \, dx\)

Optimal. Leaf size=26 \[ a \log (x)-\frac {1}{2} b \text {Li}_2(-c x)+\frac {1}{2} b \text {Li}_2(c x) \]

[Out]

a*ln(x)-1/2*b*polylog(2,-c*x)+1/2*b*polylog(2,c*x)

________________________________________________________________________________________

Rubi [A]  time = 0.01, antiderivative size = 26, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.083, Rules used = {5912} \[ -\frac {1}{2} b \text {PolyLog}(2,-c x)+\frac {1}{2} b \text {PolyLog}(2,c x)+a \log (x) \]

Antiderivative was successfully verified.

[In]

Int[(a + b*ArcTanh[c*x])/x,x]

[Out]

a*Log[x] - (b*PolyLog[2, -(c*x)])/2 + (b*PolyLog[2, c*x])/2

Rule 5912

Int[((a_.) + ArcTanh[(c_.)*(x_)]*(b_.))/(x_), x_Symbol] :> Simp[a*Log[x], x] + (-Simp[(b*PolyLog[2, -(c*x)])/2
, x] + Simp[(b*PolyLog[2, c*x])/2, x]) /; FreeQ[{a, b, c}, x]

Rubi steps

\begin {align*} \int \frac {a+b \tanh ^{-1}(c x)}{x} \, dx &=a \log (x)-\frac {1}{2} b \text {Li}_2(-c x)+\frac {1}{2} b \text {Li}_2(c x)\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 24, normalized size = 0.92 \[ a \log (x)+\frac {1}{2} b (\text {Li}_2(c x)-\text {Li}_2(-c x)) \]

Antiderivative was successfully verified.

[In]

Integrate[(a + b*ArcTanh[c*x])/x,x]

[Out]

a*Log[x] + (b*(-PolyLog[2, -(c*x)] + PolyLog[2, c*x]))/2

________________________________________________________________________________________

fricas [F]  time = 0.56, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {b \operatorname {artanh}\left (c x\right ) + a}{x}, x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*arctanh(c*x))/x,x, algorithm="fricas")

[Out]

integral((b*arctanh(c*x) + a)/x, x)

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {b \operatorname {artanh}\left (c x\right ) + a}{x}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*arctanh(c*x))/x,x, algorithm="giac")

[Out]

integrate((b*arctanh(c*x) + a)/x, x)

________________________________________________________________________________________

maple [B]  time = 0.01, size = 47, normalized size = 1.81 \[ a \ln \left (c x \right )+b \ln \left (c x \right ) \arctanh \left (c x \right )-\frac {b \dilog \left (c x \right )}{2}-\frac {b \dilog \left (c x +1\right )}{2}-\frac {b \ln \left (c x \right ) \ln \left (c x +1\right )}{2} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a+b*arctanh(c*x))/x,x)

[Out]

a*ln(c*x)+b*ln(c*x)*arctanh(c*x)-1/2*b*dilog(c*x)-1/2*b*dilog(c*x+1)-1/2*b*ln(c*x)*ln(c*x+1)

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \frac {1}{2} \, b \int \frac {\log \left (c x + 1\right ) - \log \left (-c x + 1\right )}{x}\,{d x} + a \log \relax (x) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*arctanh(c*x))/x,x, algorithm="maxima")

[Out]

1/2*b*integrate((log(c*x + 1) - log(-c*x + 1))/x, x) + a*log(x)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.04 \[ \int \frac {a+b\,\mathrm {atanh}\left (c\,x\right )}{x} \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a + b*atanh(c*x))/x,x)

[Out]

int((a + b*atanh(c*x))/x, x)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {a + b \operatorname {atanh}{\left (c x \right )}}{x}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*atanh(c*x))/x,x)

[Out]

Integral((a + b*atanh(c*x))/x, x)

________________________________________________________________________________________